package com.aspose.cells.a.d;

public class zaf {
   private zu b;

   public zaf(zu var1) {
      this.b = var1;
   }

   public short a() throws Exception {
      return (short)this.b.f();
   }

   public int b() throws Exception {
      return this.b.e();
   }

   public short c() throws Exception {
      short var1 = (short)(this.b.f() & 255);

      assert var1 >= 1 && var1 <= 4;

      return var1;
   }

   public int[] a(short var1, int var2) throws Exception {
      assert var1 >= 1 && var1 <= 4;

      int[] var3 = new int[var2];
      byte[] var4 = this.b.a(var1 * var2);

      for(int var5 = 0; var5 < var2; ++var5) {
         for(int var6 = 0; var6 < var1; ++var6) {
            var3[var5] |= var4[var5 * var1 + var6];
            if (var1 - var6 - 1 > 0) {
               var3[var5] <<= 8;
            }
         }
      }

      return var3;
   }

   public zu d() {
      return this.b;
   }

   public zae e() throws Exception {
      zae var1 = new zae(this);
      return var1;
   }
}
